CreativeMail\Managers\CheckoutManager B

Total Complexity 95
Dependencies 7
Dependents 1
Total lines 716
Lines of code 397
Logical lines of code 221
Comment lines 197
Methods 24
Properties 1

Methods 24

Method Rating Maintainability Complexity Lines of code
save_checkout_data()
B
40 18 56
get_cart_data_for_endpoint()
B
36 14 77
recover_products()
A
48 9 34
update_checkout()
S
55 5 19
cleanup_old_checkouts()
S
55 4 20
no_consent_checkout()
S
56 4 17
maybe_capture_guest_checkout()
S
57 4 16
maybe_recover_checkout_email()
S
63 5 9
clear_purchased_data()
S
60 4 14
add_hooks()
S
51 3 24
ce4wp_remote_post()
S
54 3 22
recover_checkout()
S
57 3 17
ce4wp_remote_delete()
S
61 2 14
get_checkout_recovery_date()
S
73 2 4
get_checkout_uuid_by_user()
S
73 2 4
save_or_clear_checkout_data()
S
74 2 5
enqueue_scripts()
S
67 2 7
add_email_usage_notice_field()
S
64 2 8
get_checkout_contents()
S
68 2 7
get_checkout_uuid_by_email()
S
78 1 3
ce4wp_filter_checkout_fields()
S
63 1 10
update_checkout_data()
S
82 1 3
order_processed()
S
80 1 3
order_completed()
S
76 1 4